package com.sinog.biz.mapper.havexml.other;

import org.apache.ibatis.annotations.Param;
import java.util.HashMap;
import java.util.List;

/**
 * @desc 处理旧数据mapper
 * @author -
 * @date 2020-01-19-11:18
 */
public interface OldDataAsyncToBuMapper {

    /**
     * 填写注释
     * @param tableName tableName
     * @param searchStr searchStr
     * @param savePrinumList savePrinumList
     * @param localCode localCode
     * @return List<HashMap < String,Object>>
     */
    List<HashMap<String,Object>> getOldDataAllByTableName(
            @Param("tableName") String tableName,
            @Param("searchStr") String searchStr,
            @Param("savePrinumList") List<String> savePrinumList,@Param("localCode") String localCode);

    /**
     * 填写信息
     * @param tableName tableName
     * @param searchStr searchStr
     * @param localCode localCode
     * @return List<String>
     */
    List<String> getNeedAsyncList(
            @Param("tableName") String tableName,
            @Param("searchStr") String searchStr,@Param("localCode") String localCode);
}